package cn.jzq.kotoba.modules.sharding.model.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * student entity
 * @author jzq
 * @date 2018-09-16
 */
@Data
public class Student extends Model<Student> {

    private Long id;

    private String name;

    private String delFlag;

    private Date createTime;

    private Date updateTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
